surface: Make only toplevels control events
authorMatthias Clasen <mclasen@redhat.com>
Wed, 22 May 2019 20:58:24 +0000 (20:58 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 28 May 2019 20:25:17 +0000 (20:25 +0000)
commit895962d781971d7eebb95acb0bc6ab39115dac7b
tree679abf151f6bfeb76b3a02cd825930c3a8b54b1f
parent3d283cc8f44d32d6dbc20c1c790fb4b83e5d0888
surface: Make only toplevels control events

There is no need for popups to connect to the frame
clock to pause and unpause events on the display -
the toplevel already does it.

And don't connect to paint either - handle paint
on popups recursively.
gdk/gdksurface.c